
<template>
    <div class="headerContainer">
        <div class="left">
          <img src="../assets/forumIndex.png">
          <div class="leftTitle" style="color:white">主题</div>
        </div>
        <div class="right">
            <div class="rightTag1">回复</div>
            <div class="rightTag2">点赞</div>
            <div class="rightTag3">时间</div>
        </div>
      </div>
</template>

<script>

export default {
  name: 'ForumHeader',
}
</script>
   
<style scoped>
    .headerContainer{
    width: 80%;
    margin-left: 10%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .left{
    display: flex;
  }
  .left img{
    width: 30px;
    height: 30px;
  }
  .leftTitle{
    height: 30px;
    line-height: 30px;
    margin-left: 2px;
  }
  .right{
    width: 18.6%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-right: 10px;
    color: white;
  }
  .rightTag1{
    margin-left: 2px;
  }
  .rightTag2{
    margin-left: -20px;
  }
  .rightTag3{
    margin-right: 14px;
  }
</style>
